spring boot logged in user

100

spring boot logged in user -

Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
// Get user name
authentication.getName()
Code language: JavaScript (javascript)

Comments

Submit
0 Comments